home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / win2 / winsnc12.zip / WINSINCE.TXT < prev   
Text File  |  1993-04-11  |  25KB  |  518 lines

  1. WINSINCE.TXT: This is an Ascii version of the WinSince.hlp file.
  2.               For installation instructions, see the Readme.txt file.
  3.  
  4. WINSINCE.EXE Version 1.2    Copyright 1993 Rob Hueniken
  5.                             68 Fox Mill Crescent, London, Ontario, Canada, N6J 2B4
  6.                             Compuserve 70162,1521
  7.  
  8.  
  9. Welcome to WinSince
  10.  
  11.  
  12. WinSince is a customizable file processing utility that allows you to look 
  13. for files created on or after a particular date. It can look for these files 
  14. in a single directory, in subdirectories, or across entire multiple drives.  
  15. You can also clear the date requirement and search for all files of a 
  16. particular type, such as *.tmp.  You can then print a list of the files found, 
  17. or perform a customizable Action on some or all of the files. 
  18.  
  19. At it simplest, WinSince will help you find files. But by using the definable 
  20. Actions, WinSince becomes an iterative program launcher, running both Windows 
  21. programs and DOS functions and programs. 
  22.  
  23. Its combination of graphical presentation and command line flexibility make 
  24. it an excellent tool for power users and networkers. When customized for a 
  25. particular person, its point and click useability make it an excellent end 
  26. user tool.
  27.  
  28. WinSince features include:
  29.  
  30.   12 definable File Type buttons, which you can set to any file type and 
  31.    make permanent.
  32.  
  33.   The file Date to check for can be easily set using the VCR-style controls, 
  34.    or entered directly.
  35.  
  36.   Files matching the File Type (and Date if required) are listed with their 
  37.    creation date, size, attributes and path.
  38.  
  39.   10 definable Action buttons, which can run both Windows and DOS programs. 
  40.    Into an Action you can pass the path, complete file name, 8 character 
  41.    file name, and file extension.  For each Action you can define the caption 
  42.    on the Action button, the Window format (maximized, minimized, etc.) and 
  43.    if a warning is to precede the Action.
  44.  
  45.   You can start a program by double clicking on a file name.
  46.  
  47.   Saves last position of program on the screen for next session.
  48.  
  49. Help Topics available:
  50. ======================
  51.  
  52. Quick Start
  53. Using File Buttons
  54. Selecting the Date
  55. Editing and Using Action Buttons
  56. Double Clicking to start a program
  57. Options menu
  58. Hints and Examples
  59.  
  60.                         Rob Hueniken,  January 1993
  61.  
  62.  
  63. Quick Start
  64. ===========
  65.  
  66. This section gives a quick tutorial on the major WinSince features. It is 
  67. intended for first time users. WinSince uses normal Windows conventions, so 
  68. previous experience with moving between directories and selecting files from 
  69. a list will be useful. See the other Help sections for detailed help.
  70.  
  71. For the tutorial flow to be correct, follow the steps right after starting 
  72. WinSince. The tutorial will suggest what to click the mouse on at a 
  73. particular time.
  74.  
  75. A Quick Tour of WinSince
  76. ------------------------
  77.  
  78. The main WinSince Screen:
  79.  
  80. When WinSince starts the current drive and directory will be shown in the 
  81. top right of the screen. You can change to a new directory by double clicking 
  82. on a subdirectory name.
  83.  
  84. Beneath the directory boxes is the File Type button section, which has 12 
  85. definable buttons. Click on the one that has the caption *.exe. The Directory 
  86. total file list (middle top of the screen) will show the number of .exe files 
  87. in the current directory. Click on the *.* button and see how many files 
  88. there are in total.
  89.  
  90. The date that WinSince will use while searching is the Find Since date, shown 
  91. on the middle left of the screen. Right now it will show today's date and the 
  92. word Today to the right. Under the Find Since date are the VCR-like controls 
  93. to change the date. Click on the < Day button to move back a day to Yesterday. 
  94. Press the Today button to return to Today's date. This is fun !
  95.  
  96. The big button with the colorful icon in the middle of the screen will say 
  97. Get Files because you have changed the type of files to look for. Click on 
  98. the Get Files button. WinSince will fill the Files Changed list box in the 
  99. top left of the screen with any files changed today (because the File Type 
  100. is *.* and the Find Since date is Today). The big button will change to 
  101. Have Files. If the Files Changed list box is empty then no files were changed 
  102. in this directory today.
  103.  
  104. Click on the Clear Date button: the date box will now say No Since Date, 
  105. which tells WinSince that it should not worry about the file creation date 
  106. when searching for files. Click on the Get Files button. This time there 
  107. will likely be files in the top left list box (unless your directory is empty, 
  108. in which case you need to double click your way to a busier directory) and it 
  109. will have a title that begins with No date selected.
  110.  
  111. The file details shown are:  the name of the file, its creation date 
  112. (in MM-DD-YYYY HH:MM:SS format), its size in bytes, any attributes (such 
  113. as a for archive, r for readonly, h for hidden), and the full path of the file.
  114.  
  115. Click on any one of the files. It will show in reverse video. Click on the 
  116. Dir button found at the bottom of the screen. The Dir button is one of the 
  117. 10 definable Action keys. You will see a DOS box appear and the DOS Dir 
  118. command will be run on the file you selected. After the command is completed, 
  119. you will see a Press a key when ready... request in the DOS box; this pause is 
  120. built into the Dir Action definition, which you will see soon. Press return 
  121. to complete the Action. Next, look at the section above the Action buttons 
  122. on the left. This section lets you choose whether you will search for files 
  123. in the selected directory, down into subdirectories, or across entire drives. 
  124.  
  125. Next to the Search entire drives radio button is a listing of the drives that 
  126. are available to you, such as a:  b:  c:. Click on the box to the left of 
  127. your hard drive's letter, then click on the Free Bytes button on the lower 
  128. right of the screen. In the box below you will see the number of bytes 
  129. free on this disk and the percent free. You can select multiple drives and 
  130. click on the Free Bytes button to give you a total. This can be very handy 
  131. for checking total disk space available.
  132.  
  133. The Set Type button is found on the right beneath the File Type buttons. 
  134. Click on the Set Type button. A small form will overlay the File Type 
  135. buttons. Click on one or more of the small buttons, and watch the button's 
  136. file type change to the current File Type to Set (*.*). This is fun ! If you 
  137. make a mistake then press the Reset button to restore the values. Pressing 
  138. the Cancel button will exit the button-setting form without changes; pressing 
  139. the OK button will change the values on the main WinSince screen. Changed 
  140. File Type buttons can be saved from the File menu or when you Exit the 
  141. program (bottom right of main WinSince screen). 
  142.  
  143. The Edit Screen:
  144.  
  145. The last major section to examine is the Edit menu item. Click on the Edit 
  146. item along the top of the main WinSince screen. The Define Action Keys for 
  147. WinSince editing form will appear.
  148.  
  149. There are two areas in the Edit screen. At the top is a list of summarized 
  150. Actions and at the bottom is the actual editing area. Click on the 
  151. Action 2  Dir item in the top section. It will change to reverse video, and 
  152. the lower editing area will change to reflect the components of this Action.
  153.  
  154. For the Dir command you will see that the Action to Do is dir %p\%f. The %p 
  155. refers to the path and the %f refers to the file name. When the action is 
  156. actually run on a selected file WinSince will replace the %p and %f 
  157. placeholders to yield a real directory command, such as dir c:\windows\win.ini 
  158. (path=%p=c:\windows and file=%f=win.ini). 
  159.  
  160. Notice that the Windows or Dos check box is empty because the Dir command 
  161. is a DOS command, not a Windows program. When you start defining your own 
  162. Actions, they can be DOS commands and programs, or Windows programs. 
  163.  
  164. By setting the various fields you can modify the selected Action to do just 
  165. about anything. A more thorough explanation of Action editing can be found 
  166. in the Editing and Using Action Buttons help section.
  167.  
  168. Click on the Exit button in the Edit screen. This will return you to the 
  169. main WinSince screen.
  170.  
  171. To exit the WinSince program, click on the Exit button in the bottom right 
  172. of the main WinSince screen.
  173.  
  174.  
  175. Finding Files and Using the File Buttons
  176. ========================================
  177.  
  178. When WinSince starts, it defaults to finding all files changed today in the 
  179. current directory. Above the main file list box (top left) will be shown 
  180. the number of files found, the date being checked, and the type of search. 
  181.  
  182. When a search is complete the large central button will read "Have Files". 
  183. Whenever you change the file type or date the button will read "Get Files", 
  184. which WinSince will do when you press the button.
  185.  
  186. There are 3 file search options you can select:
  187.  
  188. 1) Search selected directory:  This is the default mode, searching only the 
  189. directory selected using the drive and directory selection controls.
  190.  
  191. 2) Directory and Subdirectories:  This begins the file search in the current 
  192. directory and includes any subdirectories under the current directory.
  193.  
  194. 3) Search entire drives:  To use this option, select one or more drives to 
  195. search. These drive selectors are shared with the Free Bytes function.
  196.  
  197. The drive and subdirectory selection controls operate in the standard 
  198. Windows manner. The "Directory total" file list box shows the names of 
  199. files matching the File Type in the current directory, irrespective of the 
  200. Date selected. Single clicking on a file in this list will show the file 
  201. details of this single file below the main file details list box.
  202.  
  203. Under the subdirectory control is the File Type text box. You can directly 
  204. enter the file type here, such as HELLO.* or you can click on one of the 12 
  205. file type buttons. You can use the * (multiple character wild card) and 
  206. ? (single character wild card) symbols as accepted by DOS.
  207.  
  208. Defining your own File Type Buttons:
  209.  
  210. To define your own File Type button, press the Set Type button. A small form 
  211. ("Set File Button") will overlay the existing file buttons. You can edit the 
  212. "File Type to Set" file name as needed. To set a button to the File Type to 
  213. Set file name just click on one of the 12 buttons. It's fun! Press the OK 
  214. button to accept the new file buttons, or Cancel to return without changes. 
  215. The Reset button will reset the file button values to those when you entered 
  216. the form. 
  217.  
  218. You can make your File Type button changes permanent by using the File menu 
  219. Save File Buttons menu selection. You will also be warned if you are about 
  220. to exit without saving new Button types.
  221.  
  222.  
  223. The Free Bytes button is used to determine the amount of free disk space 
  224. remaining on your disk drives. Before clicking on the Free Bytes button 
  225. select one or more disk drives in the Search entire Drives section. When you 
  226. click on the Free Bytes button it will check all selected drives, including 
  227. any floppy drives you selected. The free space in bytes and as a percent of 
  228. the total available space is shown. Because Free Bytes uses the same disk 
  229. drive selectors as the file search across drives, you should check which 
  230. drives you have selected before pressing the Get Files button to find files. 
  231.  
  232.  
  233. Selecting the File Date 
  234. =======================
  235.  
  236. Next to the "Find Since" prompt is the Date text box. You can directly enter 
  237. the date here in MM-DD-YYYY format, or use the VCR controls to move forward 
  238. or backward by a Day or Week at a time.  The adjacent text box shows the 
  239. date offset, relative to today (ex. Yesterday).
  240.  
  241. For example, to select files created since January 20, 1991 the date field 
  242. would appear as 01-20-1991.
  243.  
  244. The Clear Date button will let you look for files without regard to their 
  245. creation date. This is very handy for finding all files of a particular type.
  246.  
  247. The Save Date button stores the current date for later retrieval with the 
  248. Reset Date button. If you find a date that shows important file activity you 
  249. can use the Save Date button, then change the date to look more, knowing 
  250. that you can get back to the files for the previous date by pressing the 
  251. Reset Date and Get Files buttons. 
  252.  
  253. When WinSince starts, it defaults to Today.
  254.  
  255.  
  256.  
  257. Editing and Using the Action Buttons
  258. ====================================
  259.  
  260. In many instances, just having a list of files matching a date and file type 
  261. is enough. But other times you will want to perform actions on some or all 
  262. of the files found. The Actions available in WinSince can be both Windows 
  263. programs and DOS functions and programs.
  264.  
  265. To select a single file to act on, click on the file name in the main list 
  266. box. To select multiple files, hold down the Control key while you select 
  267. additional files, or hold down the Shift key to select all files up to the 
  268. file clicked. You can select all files using the All button, and unselect all 
  269. files using the None button.
  270.  
  271. There are 10 definable Action keys located along the bottom left of the 
  272. screen in two rows. To view the current set of Actions enter the Edit menu 
  273. option. The list box shows the descriptions of the 10 Actions, as well as 
  274. the Cut Buffer. 
  275.  
  276. The Action Caption can be up to 10 characters long. 
  277.  
  278. The Action to Do can be up to 100 characters long. It can be a DOS command or 
  279. program (such as COPY or FOX.EXE) or a Windows program (such as EXCEL.EXE). 
  280. Special substitution symbols allow you to pass the selected files to the 
  281. Action in very flexible ways:
  282.  
  283.     %P    Path        Substitutes the path, excluding the ending \
  284.     %F    Filename    Substitutes the 8 character name, the period, 
  285.                                  and the file extension
  286.     %N    Name        Substitutes only the 8 character name, 
  287.                                  with no period
  288.     %E    Extension    Substitutes only the 3 character file extension
  289.  
  290. Example:     If the file list shows an entry for C:\WINDOWS\FILE.TXT, and 
  291.                 the Action is:
  292.  
  293.         COPY  %P\%F  A:%N_2.%E   you would get a resulting command of
  294.         COPY  C:\WINDOWS\FILE.TXT  A:FILE_2.TXT
  295.  
  296.         I.e.    %P is C:\WINDOWS    (note how the ending \ is added)
  297.             %F is FILE.TXT
  298.             %N is FILE
  299.             %E is TXT
  300.  
  301. Click on an Action in the Action list box to begin editing it. When done, 
  302. click on the OK button; the changes will then appear in the Action list box 
  303. and be ready for use. The caption will also be changed on the corresponding 
  304. Action button in the main WinSince window. The Cancel button will cancel the 
  305. changes if the OK button has not yet been pressed. You can use the Copy 
  306. button to copy a selected Action to the Cut Buffer. The Paste button will 
  307. copy the contents of the Cut Buffer to a selected Action. The Exit button 
  308. returns you to the main WinSince screen.
  309.  
  310. The Window Format will usually be Normal, Show Minimized or Show Maximized.
  311.  
  312.  
  313.  
  314. The Run Windows Program check box should be selected to run a program requiring 
  315. Windows. For DOS commands and programs leave this box unchecked. 
  316.  
  317. DOS Actions are best run using the DOS Batch File, which uses the SINCECLS.PIF 
  318. file to run the Action in a windowed DOS box, and to close the Window when 
  319. done. You can use the PIF editor to modify this to use Full Screen, etc. 
  320. as required. If you do not use the DOS Batch File option then each iteration 
  321. of the Action on a list of files will create a new DOS box under Windows, 
  322. usually causing you to run out of memory. By using the DOS Batch File, a single 
  323. batch file is created (SINCETMP.BAT in the TEMP directory) that needs only a 
  324. single DOS box to run.
  325.  
  326. If you check Pause between DOS Actions then a DOS Pause command is inserted 
  327. between each action in the batch file.
  328.  
  329. If you check Pause at end of DOS Batch then a DOS Pause command is inserted 
  330. after the last action in the batch file. If you do not specify the pause at 
  331. the end then the window will close when the action is completed, which is 
  332. useful if you run a minimized action that you don't want to see the final 
  333. status of.
  334.  
  335. The Warn before Starting check box will present you with a message box 
  336. before the Action is performed on a selected file. If you select No then 
  337. the next selected file will be presented. If you select Cancel the action is 
  338. ended for all selected files. For DOS Batch File actions a single warning is 
  339. given before the batch file is started, showing a sample action contained in 
  340. the batch file.
  341.  
  342. For Windows actions there is no direct parallel to the pause ability of the 
  343. DOS batch file. Instead, you can check the Warn before Starting box. Before 
  344. the action is started on the next file you will be presented with the Warning 
  345. box. Ignore the Warning box and click on the Windows application. When you 
  346. finish the application the Warning box will still be there. You can then 
  347. progress to the next file, or cancel subsequent actions.
  348.  
  349. You can make your Action button changes permanent by using the File menu 
  350. Save Actions menu selection. You will also be warned if you are about to 
  351. exit without saving new Actions.
  352.  
  353. Note: if you make an error while editing an Action, exit WinSince without 
  354. saving the changed Action definitions. When you restart WinSince the 
  355. previous actions will be there.
  356.  
  357.  
  358. Double Clicking to start a program
  359. ==================================
  360.  
  361. You can start any executable program (.exe, .com, .bat, .pif) by double 
  362. clicking on its name in either the directory file list or the selected 
  363. files list box. You can also start the associated program for the file's 
  364. extension (such as starting NOTEPAD.EXE when you double click on README.TXT).
  365.  
  366. You can set the Warn before run double click option in the Options menu to 
  367. verify what program will be run when you double click on a particular file 
  368. type. Setting this option is useful for verifying the file associations 
  369. within Windows. Once you are confident that clicking on a file type runs the 
  370. right program you can reset this option.
  371.  
  372.  
  373. Options Menu
  374. ============
  375.  
  376. The options for WinSince are:
  377.  
  378. 1) Get file information when start up: If set, WinSince will look for files 
  379. created today in the current directory when WinSince starts. If you do not 
  380. often want a list of the changed files in the current directory then reset 
  381. this option. Resetting this option may save a bit of time at start up if 
  382. you start in a directory with many files. Use the Get Files button to search 
  383. for files.
  384.  
  385. 2) Warn before run double click: If set, WinSince will present you with a 
  386. warning box when you double click on a file name. The warning box will show 
  387. the command about to be run (such as NOTEPAD.EXE README.TXT if you double 
  388. click on readme.txt). Setting this option is useful for verifying the file 
  389. associations within Windows. Once you are confident that clicking on 
  390. a file type runs the right program you can reset this option.
  391.  
  392. 3) Run program on own when double click: This option is usually set. If 
  393. reset and you double click on a program (.exe, .com, .bat, .pif) you will 
  394. pass the program name to the program itself (such as EXCEL.EXE EXCEL.EXE). 
  395. This is rarely the action wanted when you double click on an executable, 
  396. but it is included for use under special circumstances.
  397.  
  398. When you exit WinSince, the options are saved.
  399.  
  400.  
  401.  
  402. Hints and Examples
  403. ==================
  404.  
  405. By customizing the Action buttons you can create a very powerful and easy to 
  406. use working environment that can solve virtually any task involving file 
  407. manipulations and program execution. 
  408.  
  409. The copy of Since.ini provided with the program provides additional examples 
  410. of defining the Action buttons.
  411.  
  412. Example: Save today's work to floppy
  413. ------------------------------------
  414.  
  415. One of the reasons I wrote WinSince was to be able to see which files had 
  416. been changed during today's work session and to copy them to a floppy for 
  417. safe keeping.  By selecting a date of Today and using a DOS Batch File Action 
  418. defined as COPY %P\%F A: I can now save today's work to floppy quickly and 
  419. easily. Notice how you have to put the \ in. If there are many files to 
  420. copy the Pause between and Pause at end controls will let you see the 
  421. individual Action results.
  422.  
  423. Example: Get a copy of files existing in one directory from different directory
  424. -------------------------------------------------------------------------------
  425.  
  426. Suppose you have a directory called C:\FILES with 5 files in it, and another 
  427. directory C:\NEW\FILES with 10 files. The files in C:\FILES need to be set 
  428. to the contents of C:\NEW\FILES but you don't want all 10 files, just the 
  429. 5 files. Clear the Date, and use the Directory controls to move to the 
  430. C:\FILES directory. Set the Search Type to Search selected directory and 
  431. press the Get Files button. Use the All button to select all 5 files. Then 
  432. use a DOS Batch File Action defined as COPY C:\NEW\FILES\%F C:\FILES
  433.  
  434. Reclaiming the Original WinSince Actions
  435. ----------------------------------------
  436.  
  437. If you somehow lose the Action definitions, the original ones programmed into 
  438. WinSince can be returned. Edit the Since.ini file and delete the Action lines 
  439. in the [Since] section. When you start WinSince again the original Actions 
  440. will be there.
  441.  
  442. Using the Warning check box to verify Actions and Double Clicks
  443. ---------------------------------------------------------------
  444.  
  445. When first defining an Action, it is useful to set the Warning check box in 
  446. the Edit screen. This will allow you to see what the final command to be run 
  447. will be, including the file name. To test the new Action, select one or more 
  448. files from the top left list box and run your command. If the command to run 
  449. is not as you expected, you can choose "No" and Edit the Action. Once you 
  450. are satisfied that your new Action is working, you can reset the Warning 
  451. check box.
  452.  
  453. Similarly, you can use the Options menu to set the "Warn before run double 
  454. click" option. This will show the command to be run when you double click 
  455. a file name. This is a good way to verify the file associations within Windows.
  456.  
  457. An Action Without a File
  458. ------------------------
  459.  
  460. You can define an Action that does not need any files. The example supplied 
  461. with WinSince is the running of the Windows Notepad.exe editor without a 
  462. starting file. When you set up the Action to Do leave out any reference to 
  463. %P, %F, %N and %E. This will allow the Action to start if no files are 
  464. selected. If you do select one or more files then the Action will be performed 
  465. that many times, but as the Action is defined, there will be no file names 
  466. passed to the program.
  467.  
  468.  
  469. Keeping the Selected Files List
  470. -------------------------------
  471.  
  472. You can double click to move to another drive or directory without losing the 
  473. list of selected files. Only when you press the Get Files or Have Files 
  474. buttons will WinSince get a new list of files.
  475.  
  476. Keeping the Action Definitions on Screen
  477. ----------------------------------------
  478.  
  479. If you often enter the Action Edit window to see what the Action definitions 
  480. are, you can leave it on screen while using WinSince. Clicking on the Summary 
  481. button will hide the edit details, and just show the main Action details. 
  482. You can continue editing by clicking on the Detail button.
  483.  
  484. Clearing the Date is Important
  485. ------------------------------
  486.  
  487. Using the Clear Date button allows you to search for all files of a particular 
  488. type, regardless of the file creation date. By being able to look across 
  489. multiple drives and down subdirectory trees, WinSince is a powerful tool 
  490. for finding files.
  491.  
  492. Temporary Files created by WinSince
  493. -----------------------------------
  494.  
  495. WinSince uses a temporary file, SINCE.TMP, to store search information. The 
  496. location of this file is defined by the environment variable TEMP. WinSince 
  497. is careful enough to check for low disk quota, and will notify you if it 
  498. might run out of free disk space while searching for files. WinSince also 
  499. creates a DOS Batch File, SINCETMP.BAT, in the TEMP area.
  500.  
  501. Developing using Sheridan Software Systems Widgets
  502. --------------------------------------------------
  503.  
  504. WinSince uses one Sheridan runtime VBX file, SS3D2.VBX. If you are 
  505. developing with Visual Basic and this Sheridan VBX file, be sure 
  506. to close WinSince before opening the VB project. If you do not, VB 
  507. will give you the message "Can't load Custom Control DLL: SS3D2.VBX". 
  508.  
  509. "Sub or Function not defined" error
  510. -----------------------------------
  511.  
  512. This error can indicate that the SINCE.DLL or the Visual Basic 2.0 
  513. VBRUN200.DLL files are not on the path. For simplicity you can put WinSince 
  514. in the main Windows directory, which is almost always on the path. This 
  515. new version of WinSince has a new SINCE.DLL; any copies of the older 
  516. SINCE.DLL should be deleted.
  517.  
  518.